package com.ultrasoft.farmasoft.repository;

import java.util.List;

import com.ultrasoft.farmasoft.domain.Composition;

public interface CompositionDao {
	public List<Composition> getListComposition();
	public List<Composition> getListComposition(Integer compositionId);
	public List<Composition> getListComposition(boolean active);
	public List<Composition> getListComposition(Integer compositionId,boolean active);
	public List<Composition> getListComposition(Integer providerId,Integer productId,boolean active);
    public Composition findByCompositionId(Integer compositionId);
    public void update(Composition composition); 
	public void remove(Integer providerId,Integer productId);
    public void remove(Composition composition);    
    public void add(Composition composition);
}
